/*
 * =====================================================================================
 *
 *       Filename:  Stack.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  11/08/2012 01:02:11 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Kjeldahl (), 
 *   Organization:  
 *
 * =====================================================================================
 */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#define elmType int
#define SIZE 100
typedef struct {
elmType data[SIZE];
int top;
}Stack;

Stack * initStack();
int emptyStack(Stack *S);
int destroyStack(Stack *S);
int push(Stack *S,elmType value);
elmType pop(Stack *S);
void showStack(Stack *S);
bool isempty(Stack *S);
int getLength(Stack *S);
elmTYpe getTop(Stack *S);



